﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using STT.Business;
using System.Data;

namespace STT.Admin.UserControls
{
    public partial class ucTinNhanMoi : System.Web.UI.UserControl
    {
        public string lastTime="";
        protected void Page_Load(object sender, EventArgs e)
        {
            // Lay MaHV tu Session
            LoadTinNhanMoi();
            BTbChat.UpdateTrangThaiTin(Session["TenDN"].ToString());
        }

        public DataTable tb;

        void LoadTinNhanMoi()
        {
            // Lay ma hoc vien tu session
            tb = BTbChat.SelectTinNhanMoiForManager(Session["TenDN"].ToString());
            //int count = tb.Rows.Count;
        }
    }
}